package com.hydl.power.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LogExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLogIdIsNull() {
            addCriterion("log_id is null");
            return (Criteria) this;
        }

        public Criteria andLogIdIsNotNull() {
            addCriterion("log_id is not null");
            return (Criteria) this;
        }

        public Criteria andLogIdEqualTo(String value) {
            addCriterion("log_id =", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotEqualTo(String value) {
            addCriterion("log_id <>", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdGreaterThan(String value) {
            addCriterion("log_id >", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdGreaterThanOrEqualTo(String value) {
            addCriterion("log_id >=", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLessThan(String value) {
            addCriterion("log_id <", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLessThanOrEqualTo(String value) {
            addCriterion("log_id <=", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdLike(String value) {
            addCriterion("log_id like", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotLike(String value) {
            addCriterion("log_id not like", value, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdIn(List<String> values) {
            addCriterion("log_id in", values, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotIn(List<String> values) {
            addCriterion("log_id not in", values, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdBetween(String value1, String value2) {
            addCriterion("log_id between", value1, value2, "logId");
            return (Criteria) this;
        }

        public Criteria andLogIdNotBetween(String value1, String value2) {
            addCriterion("log_id not between", value1, value2, "logId");
            return (Criteria) this;
        }

        public Criteria andLogNameIsNull() {
            addCriterion("log_name is null");
            return (Criteria) this;
        }

        public Criteria andLogNameIsNotNull() {
            addCriterion("log_name is not null");
            return (Criteria) this;
        }

        public Criteria andLogNameEqualTo(String value) {
            addCriterion("log_name =", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameNotEqualTo(String value) {
            addCriterion("log_name <>", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameGreaterThan(String value) {
            addCriterion("log_name >", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameGreaterThanOrEqualTo(String value) {
            addCriterion("log_name >=", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameLessThan(String value) {
            addCriterion("log_name <", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameLessThanOrEqualTo(String value) {
            addCriterion("log_name <=", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameLike(String value) {
            addCriterion("log_name like", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameNotLike(String value) {
            addCriterion("log_name not like", value, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameIn(List<String> values) {
            addCriterion("log_name in", values, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameNotIn(List<String> values) {
            addCriterion("log_name not in", values, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameBetween(String value1, String value2) {
            addCriterion("log_name between", value1, value2, "logName");
            return (Criteria) this;
        }

        public Criteria andLogNameNotBetween(String value1, String value2) {
            addCriterion("log_name not between", value1, value2, "logName");
            return (Criteria) this;
        }

        public Criteria andLogLinkIsNull() {
            addCriterion("log_link is null");
            return (Criteria) this;
        }

        public Criteria andLogLinkIsNotNull() {
            addCriterion("log_link is not null");
            return (Criteria) this;
        }

        public Criteria andLogLinkEqualTo(String value) {
            addCriterion("log_link =", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkNotEqualTo(String value) {
            addCriterion("log_link <>", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkGreaterThan(String value) {
            addCriterion("log_link >", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkGreaterThanOrEqualTo(String value) {
            addCriterion("log_link >=", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkLessThan(String value) {
            addCriterion("log_link <", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkLessThanOrEqualTo(String value) {
            addCriterion("log_link <=", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkLike(String value) {
            addCriterion("log_link like", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkNotLike(String value) {
            addCriterion("log_link not like", value, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkIn(List<String> values) {
            addCriterion("log_link in", values, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkNotIn(List<String> values) {
            addCriterion("log_link not in", values, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkBetween(String value1, String value2) {
            addCriterion("log_link between", value1, value2, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogLinkNotBetween(String value1, String value2) {
            addCriterion("log_link not between", value1, value2, "logLink");
            return (Criteria) this;
        }

        public Criteria andLogParamIsNull() {
            addCriterion("log_param is null");
            return (Criteria) this;
        }

        public Criteria andLogParamIsNotNull() {
            addCriterion("log_param is not null");
            return (Criteria) this;
        }

        public Criteria andLogParamEqualTo(String value) {
            addCriterion("log_param =", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamNotEqualTo(String value) {
            addCriterion("log_param <>", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamGreaterThan(String value) {
            addCriterion("log_param >", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamGreaterThanOrEqualTo(String value) {
            addCriterion("log_param >=", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamLessThan(String value) {
            addCriterion("log_param <", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamLessThanOrEqualTo(String value) {
            addCriterion("log_param <=", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamLike(String value) {
            addCriterion("log_param like", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamNotLike(String value) {
            addCriterion("log_param not like", value, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamIn(List<String> values) {
            addCriterion("log_param in", values, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamNotIn(List<String> values) {
            addCriterion("log_param not in", values, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamBetween(String value1, String value2) {
            addCriterion("log_param between", value1, value2, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogParamNotBetween(String value1, String value2) {
            addCriterion("log_param not between", value1, value2, "logParam");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeIsNull() {
            addCriterion("log_reqtype is null");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeIsNotNull() {
            addCriterion("log_reqtype is not null");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeEqualTo(String value) {
            addCriterion("log_reqtype =", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeNotEqualTo(String value) {
            addCriterion("log_reqtype <>", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeGreaterThan(String value) {
            addCriterion("log_reqtype >", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeGreaterThanOrEqualTo(String value) {
            addCriterion("log_reqtype >=", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeLessThan(String value) {
            addCriterion("log_reqtype <", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeLessThanOrEqualTo(String value) {
            addCriterion("log_reqtype <=", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeLike(String value) {
            addCriterion("log_reqtype like", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeNotLike(String value) {
            addCriterion("log_reqtype not like", value, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeIn(List<String> values) {
            addCriterion("log_reqtype in", values, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeNotIn(List<String> values) {
            addCriterion("log_reqtype not in", values, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeBetween(String value1, String value2) {
            addCriterion("log_reqtype between", value1, value2, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogReqtypeNotBetween(String value1, String value2) {
            addCriterion("log_reqtype not between", value1, value2, "logReqtype");
            return (Criteria) this;
        }

        public Criteria andLogIpIsNull() {
            addCriterion("log_ip is null");
            return (Criteria) this;
        }

        public Criteria andLogIpIsNotNull() {
            addCriterion("log_ip is not null");
            return (Criteria) this;
        }

        public Criteria andLogIpEqualTo(String value) {
            addCriterion("log_ip =", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpNotEqualTo(String value) {
            addCriterion("log_ip <>", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpGreaterThan(String value) {
            addCriterion("log_ip >", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpGreaterThanOrEqualTo(String value) {
            addCriterion("log_ip >=", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpLessThan(String value) {
            addCriterion("log_ip <", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpLessThanOrEqualTo(String value) {
            addCriterion("log_ip <=", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpLike(String value) {
            addCriterion("log_ip like", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpNotLike(String value) {
            addCriterion("log_ip not like", value, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpIn(List<String> values) {
            addCriterion("log_ip in", values, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpNotIn(List<String> values) {
            addCriterion("log_ip not in", values, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpBetween(String value1, String value2) {
            addCriterion("log_ip between", value1, value2, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogIpNotBetween(String value1, String value2) {
            addCriterion("log_ip not between", value1, value2, "logIp");
            return (Criteria) this;
        }

        public Criteria andLogSysIsNull() {
            addCriterion("log_sys is null");
            return (Criteria) this;
        }

        public Criteria andLogSysIsNotNull() {
            addCriterion("log_sys is not null");
            return (Criteria) this;
        }

        public Criteria andLogSysEqualTo(String value) {
            addCriterion("log_sys =", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysNotEqualTo(String value) {
            addCriterion("log_sys <>", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysGreaterThan(String value) {
            addCriterion("log_sys >", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysGreaterThanOrEqualTo(String value) {
            addCriterion("log_sys >=", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysLessThan(String value) {
            addCriterion("log_sys <", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysLessThanOrEqualTo(String value) {
            addCriterion("log_sys <=", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysLike(String value) {
            addCriterion("log_sys like", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysNotLike(String value) {
            addCriterion("log_sys not like", value, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysIn(List<String> values) {
            addCriterion("log_sys in", values, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysNotIn(List<String> values) {
            addCriterion("log_sys not in", values, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysBetween(String value1, String value2) {
            addCriterion("log_sys between", value1, value2, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogSysNotBetween(String value1, String value2) {
            addCriterion("log_sys not between", value1, value2, "logSys");
            return (Criteria) this;
        }

        public Criteria andLogBrowserIsNull() {
            addCriterion("log_browser is null");
            return (Criteria) this;
        }

        public Criteria andLogBrowserIsNotNull() {
            addCriterion("log_browser is not null");
            return (Criteria) this;
        }

        public Criteria andLogBrowserEqualTo(String value) {
            addCriterion("log_browser =", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserNotEqualTo(String value) {
            addCriterion("log_browser <>", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserGreaterThan(String value) {
            addCriterion("log_browser >", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserGreaterThanOrEqualTo(String value) {
            addCriterion("log_browser >=", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserLessThan(String value) {
            addCriterion("log_browser <", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserLessThanOrEqualTo(String value) {
            addCriterion("log_browser <=", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserLike(String value) {
            addCriterion("log_browser like", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserNotLike(String value) {
            addCriterion("log_browser not like", value, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserIn(List<String> values) {
            addCriterion("log_browser in", values, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserNotIn(List<String> values) {
            addCriterion("log_browser not in", values, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserBetween(String value1, String value2) {
            addCriterion("log_browser between", value1, value2, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogBrowserNotBetween(String value1, String value2) {
            addCriterion("log_browser not between", value1, value2, "logBrowser");
            return (Criteria) this;
        }

        public Criteria andLogMethodIsNull() {
            addCriterion("log_method is null");
            return (Criteria) this;
        }

        public Criteria andLogMethodIsNotNull() {
            addCriterion("log_method is not null");
            return (Criteria) this;
        }

        public Criteria andLogMethodEqualTo(String value) {
            addCriterion("log_method =", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodNotEqualTo(String value) {
            addCriterion("log_method <>", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodGreaterThan(String value) {
            addCriterion("log_method >", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodGreaterThanOrEqualTo(String value) {
            addCriterion("log_method >=", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodLessThan(String value) {
            addCriterion("log_method <", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodLessThanOrEqualTo(String value) {
            addCriterion("log_method <=", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodLike(String value) {
            addCriterion("log_method like", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodNotLike(String value) {
            addCriterion("log_method not like", value, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodIn(List<String> values) {
            addCriterion("log_method in", values, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodNotIn(List<String> values) {
            addCriterion("log_method not in", values, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodBetween(String value1, String value2) {
            addCriterion("log_method between", value1, value2, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogMethodNotBetween(String value1, String value2) {
            addCriterion("log_method not between", value1, value2, "logMethod");
            return (Criteria) this;
        }

        public Criteria andLogUserIsNull() {
            addCriterion("log_user is null");
            return (Criteria) this;
        }

        public Criteria andLogUserIsNotNull() {
            addCriterion("log_user is not null");
            return (Criteria) this;
        }

        public Criteria andLogUserEqualTo(String value) {
            addCriterion("log_user =", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserNotEqualTo(String value) {
            addCriterion("log_user <>", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserGreaterThan(String value) {
            addCriterion("log_user >", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserGreaterThanOrEqualTo(String value) {
            addCriterion("log_user >=", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserLessThan(String value) {
            addCriterion("log_user <", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserLessThanOrEqualTo(String value) {
            addCriterion("log_user <=", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserLike(String value) {
            addCriterion("log_user like", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserNotLike(String value) {
            addCriterion("log_user not like", value, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserIn(List<String> values) {
            addCriterion("log_user in", values, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserNotIn(List<String> values) {
            addCriterion("log_user not in", values, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserBetween(String value1, String value2) {
            addCriterion("log_user between", value1, value2, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogUserNotBetween(String value1, String value2) {
            addCriterion("log_user not between", value1, value2, "logUser");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNull() {
            addCriterion("log_date is null");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNotNull() {
            addCriterion("log_date is not null");
            return (Criteria) this;
        }

        public Criteria andLogDateEqualTo(Date value) {
            addCriterion("log_date =", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotEqualTo(Date value) {
            addCriterion("log_date <>", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThan(Date value) {
            addCriterion("log_date >", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThanOrEqualTo(Date value) {
            addCriterion("log_date >=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThan(Date value) {
            addCriterion("log_date <", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThanOrEqualTo(Date value) {
            addCriterion("log_date <=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateIn(List<Date> values) {
            addCriterion("log_date in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotIn(List<Date> values) {
            addCriterion("log_date not in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateBetween(Date value1, Date value2) {
            addCriterion("log_date between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotBetween(Date value1, Date value2) {
            addCriterion("log_date not between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogTypeIsNull() {
            addCriterion("log_type is null");
            return (Criteria) this;
        }

        public Criteria andLogTypeIsNotNull() {
            addCriterion("log_type is not null");
            return (Criteria) this;
        }

        public Criteria andLogTypeEqualTo(String value) {
            addCriterion("log_type =", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotEqualTo(String value) {
            addCriterion("log_type <>", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeGreaterThan(String value) {
            addCriterion("log_type >", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeGreaterThanOrEqualTo(String value) {
            addCriterion("log_type >=", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeLessThan(String value) {
            addCriterion("log_type <", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeLessThanOrEqualTo(String value) {
            addCriterion("log_type <=", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeLike(String value) {
            addCriterion("log_type like", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotLike(String value) {
            addCriterion("log_type not like", value, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeIn(List<String> values) {
            addCriterion("log_type in", values, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotIn(List<String> values) {
            addCriterion("log_type not in", values, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeBetween(String value1, String value2) {
            addCriterion("log_type between", value1, value2, "logType");
            return (Criteria) this;
        }

        public Criteria andLogTypeNotBetween(String value1, String value2) {
            addCriterion("log_type not between", value1, value2, "logType");
            return (Criteria) this;
        }

        public Criteria andCropCodeIsNull() {
            addCriterion("crop_code is null");
            return (Criteria) this;
        }

        public Criteria andCropCodeIsNotNull() {
            addCriterion("crop_code is not null");
            return (Criteria) this;
        }

        public Criteria andCropCodeEqualTo(String value) {
            addCriterion("crop_code =", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeNotEqualTo(String value) {
            addCriterion("crop_code <>", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeGreaterThan(String value) {
            addCriterion("crop_code >", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeGreaterThanOrEqualTo(String value) {
            addCriterion("crop_code >=", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeLessThan(String value) {
            addCriterion("crop_code <", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeLessThanOrEqualTo(String value) {
            addCriterion("crop_code <=", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeLike(String value) {
            addCriterion("crop_code like", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeNotLike(String value) {
            addCriterion("crop_code not like", value, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeIn(List<String> values) {
            addCriterion("crop_code in", values, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeNotIn(List<String> values) {
            addCriterion("crop_code not in", values, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeBetween(String value1, String value2) {
            addCriterion("crop_code between", value1, value2, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropCodeNotBetween(String value1, String value2) {
            addCriterion("crop_code not between", value1, value2, "cropCode");
            return (Criteria) this;
        }

        public Criteria andCropNameIsNull() {
            addCriterion("crop_name is null");
            return (Criteria) this;
        }

        public Criteria andCropNameIsNotNull() {
            addCriterion("crop_name is not null");
            return (Criteria) this;
        }

        public Criteria andCropNameEqualTo(String value) {
            addCriterion("crop_name =", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotEqualTo(String value) {
            addCriterion("crop_name <>", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameGreaterThan(String value) {
            addCriterion("crop_name >", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameGreaterThanOrEqualTo(String value) {
            addCriterion("crop_name >=", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameLessThan(String value) {
            addCriterion("crop_name <", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameLessThanOrEqualTo(String value) {
            addCriterion("crop_name <=", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameLike(String value) {
            addCriterion("crop_name like", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotLike(String value) {
            addCriterion("crop_name not like", value, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameIn(List<String> values) {
            addCriterion("crop_name in", values, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotIn(List<String> values) {
            addCriterion("crop_name not in", values, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameBetween(String value1, String value2) {
            addCriterion("crop_name between", value1, value2, "cropName");
            return (Criteria) this;
        }

        public Criteria andCropNameNotBetween(String value1, String value2) {
            addCriterion("crop_name not between", value1, value2, "cropName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}